package com.xg.frame.idempotent.selector;

import org.springframework.context.annotation.ImportSelector;
import org.springframework.core.type.AnnotationMetadata;

/**
 * 自动装配
 * @author dehuisun
 * @date 2020-01-10
 */
public class ApiIdempotentImportSelector implements ImportSelector {

    @Override
    public String[] selectImports(AnnotationMetadata importingClassMetadata) {
        return new String[]{
                "com.xg.frame.idempotent.aop.IdempAnnotationAOP",
                "com.xg.frame.idempotent.config.ApiIdempotentConfig"
        };
    }
}
